.table-fd{
  border: 1px solid #3b3b3b;
}
.table-fd td {
    font-size: 14px;
  }
  .table-fd td, th {
    text-wrap: nowrap;
  }
  .table-fd th {
    font-size: 16px;
    color: #ffffff;
   background-color:#002953 ;
  }
  .fd-table-header{
    font-weight: 600;
    color: #4C2E76;
    border: 1px solid #ffffff;
  }
  .fd-logo{
    width: 13vw;
    margin-bottom: 8px;
  }
  .bg-fd-cal{
    background-image: url('../assets/images/fd/banner-8.png');
    background-repeat: no-repeat;
    background-size: cover;
  }
  .border-left-fd{border-left: 2px solid #A4A4A4;}

  /*Accordion tab fd start*/
  .fd-accordion .accordion-button:not(.collapsed) {
    color: #4c3175;
    background-color: #f7f0ffa6;
    box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 #ffffff;
    border: 1px solid #e8dcf5;
    border-radius: 5px 0px;
    font-weight: 600;
}
.fd-accordion .accordion-item {
  margin-bottom: 15px;
  border: 1px solid #ffffff;
  border-top: 1px solid #ffffff !important;
  background: #ffffff;
}
.fd-accordion .accordion-body{
  padding: 5px;
}
.fd-accordion .accordion-button {
  position: relative;
  padding-right: 30px;
  background-color: #faf5ffb0;
  border: 1px solid #eee4f8;
  border-radius: 5px 0px;
  font-weight: 600;
}
.fd-accordion .accordion-button:focus {
  outline: 0;
  box-shadow: none;
}
/*tab*/

  .tabs-container {
    width: 100%;
    height: auto; /* Make the height flexible */
    background-color: white;
    border-radius: 20px;
    /* box-shadow: 0 0px 6px rgba(0, 0, 0, 0.15); */
    overflow: hidden;
    position: relative;
  }
  
 
  .tab-links {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .tab-link {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 15px; /* Increased padding for spacing */
    color: #ccc;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .tab-link.active,
  .tab-link:hover {
    color: #4c3175; /* Gradient purple */
  }
  
  
  
  .tab-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -1px;
    left: 50%;
    background: linear-gradient(45deg, #9368bd, #553b82);
    /* background: linear-gradient(45deg, #b84de5, #7d41ff); */
    transition: all 0.4s ease;
  }
  
  .tab-link.active::after {
    width: 100%;
    left: 0;
  }
  
  .tab-content {
    /*display: none;*/
    animation: fadeInUp 0.5s ease;
    padding: 5px 10px 15px 10px;
  }
  
  .tab-content.active {
    display: block;
  }

  /*form Floting*/  
  .form-group-1 {
    position: relative;
    margin-bottom: 20px;
  }
  .form-group-1 input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
  }
  .form-group-1 label {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 14px;
    color: #777;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
  }
  .form-group-1 input:focus {
    border-color: #42135e;
    outline: none;
  }
  .form-group-1 input:focus + label,
  .form-group-1 input:not(:placeholder-shown) + label {
    top: -6px;
    font-size: 12px;
    color: #42135e;
    background-color: #ffffff;
    padding: 0 4px;
    border-radius: 4px;
    left: 8px;
  }
  .form-check-input:checked {
    background-color: #563b82;
    border-color: #583d84;
}
.form-check-input:focus {
  border-color: #583d84;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(239 232 251);
}
/*form floating end*/
  
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Buttons */
  .cta-btn {
    display: inline-block;
    padding: 5px 15px; /* More padding */
    background: linear-gradient(45deg, #b84de5, #493276);    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.4s ease;
    font-weight: 500;
  }
  
  .cta-btn:hover {
    background: linear-gradient(45deg, #b84de5, #493276);  color: white; }
  
 
  
 /*client timeline start*/
 .line_box {
  display: flex;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.text_circle {
  flex: 1;
  text-align: center;
  position: relative;
}
.text_circle:after {
  background-color: grey;
  bottom: 1.25em;
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  right: 0;
  width: 50%;
  z-index: -1;
}
.stav_projektu .text_circle:after,.stav_projektu .text_circle:before {background-color: grey;}
.line_box h4 {
  color: #563c83;
  font-weight: bold;
}
.line_box h4,.line_box p {
  font-size: 12px;
  margin-bottom: 0;
  padding: 0 5px;
}
/* Default styling for inactive .tvar */
.tvar {
  height: 40px;
  width: 40px;
  border: 2px solid #808080; /* Inactive border color */
  display: flex;
  position: relative;
  border-radius: 100%;
  top: -43px;
  margin: 3px auto;
  background-color: #fff; /* Background color */
  align-items: center;
  justify-content: center; /* Center align the content inside */
}
.tvar span {
  height: 20px;
  width: 20px;
  background-color: #808080; /* Default inactive background color for inner circle */
  border-radius: 100%;
  color: #fff; /* Default text/icon color */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Styling for active .tvar when parent has 'done' class */
.text_circle.done .tvar {
  border-color: #563c83; /* Active border color */
}
.text_circle.done .tvar span {
  background-color: #563c83; /* Active background color for inner circle */
  color: #fff; /* Text/icon color */
}

/* Ensure all non-done .tvar remain grey */
.text_circle:not(.done) .tvar {
  border-color: #808080; /* Inactive border color */
}
.text_circle:not(.done) .tvar span {
  background-color: #808080; /* Inactive background color for inner circle */
  color: #fff; /* Icon color remains white for inactive steps */
}
/* Default styling for inactive <h4> */
.text_circle h4 {
  color: #808080; /* Default inactive text color */
  font-size: 12px; /* Ensure consistent size */
  margin-bottom: 0;
  padding: 0 5px;
  font-weight: bold;
}

/* Styling for active <h4> when parent has 'done' class */
.text_circle.done h4 {
  color: #563c83; /* Active text color */
}

/* Ensure all non-done <h4> remain grey */
.text_circle:not(.done) h4 {
  color: #808080; /* Inactive text color */
}

.center-div{
  display: flex;
    justify-content: center;
    align-items: center;
}
.img-back{
  width: 25px;
    height: 25px;
    padding: 5px;
    background-color: #d8dbdd;
    border-radius: 50px;
    margin-right: 5px;
}


.timeline {margin: 40px 0;}
.text_circle.done:after,.text_circle.done + .text_circle:before,.stav_projektu .text_circle.done:after,.stav_projektu .text_circle.done + .text_circle:before {background-color: #563c83;}
.text_circle.sub:after {background-color: #563c83;}
.text_circle:not(:first-child):before {
  bottom: 1.25em;
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  left: 0;
  width: 50%;
  z-index: -1;
  background-color: grey;
}
.stav_projektu .text_circle:not(:first-child):before {background-color: grey;}
.text_circle:last-child:after {width: 0;}
.circle {height: 100%;}
.tvar {
  height: 40px;
  width: 40px;
  border: 2px solid #52397f;
  display: flex;
  position: relative;
  border-radius: 100%;
  top: -43px;
  margin: 3px auto;
  background-color: #fff;
}
.tvar span {
  margin: 25% auto;
  height: 20px;
  width: 20px;
  background-color: #563c83;
  border-radius: 100%;
  color: #fff;
}
.timeline .card-header:hover {
  background-color: #ececec;
  cursor: pointer;
}



  
  
  
 
  
@media (min-width: 768px) {
  .border-left-fd{border: none !important;}
  .tab-links {
    flex-direction: row;
  }

  .tab-content {
    display: block;
  }
}


  /*Small devices (landscape phones, 576px and up)*/
  @media (max-width: 600px) { 
    .border-left-fd{border: none !important;}
    .fd-logo {
      width: 35vw;
    }
    .table-fd td, th {
      text-wrap: nowrap;
    }
    .tab-links {
      flex-direction: column;
      align-items: center;
    }
  
    .tab-link {
      text-align: center;
      width: 100%;
      padding: 15px 0;
    }
    
   }
 